package net.wangds.common.web.fileupload.module;

import lombok.*;

import javax.persistence.Column;

/**
 * .
 * <p></p>
 *
 * @author 王东石 2020/5/15 13:47.
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FileBytes {


    @Getter
    @Setter
    @Column(length = 256)
    private String filename;

    @Getter
    @Setter
    @Column(length=10)
    private long size;

    @Getter
    @Setter
    @Column(length=64)
    private String type;

    @Getter
    @Setter
    private byte[] content;

}
